package com.gxa.uhome.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.gxa.uhome.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * User: Sanruy Mu
 * Date: 2021/06/08 15:51
 * Description:多表联查（user,station,shipper,userOrder,order,orderDetail等）的视图实体类
 * Version: V1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="UODSVo 多表联查（user,station,shipper,userOrder,order,orderDetail等）的视图实体类, 用户订单详情信息实体类")
public class UODSVo {
    @ApiModelProperty(value="订单Id")
    @Excel(name="订单Id")
    private Integer orderId;
    @ApiModelProperty(value="用户id")
    @Excel(name="用户id")
    private Integer userId;
    @ApiModelProperty(value="用户姓名")
    @Excel(name="用户姓名")
    private String userName;
    @ApiModelProperty(value="订单编号")
    @Excel(name="订单编号")
    private Integer orderNo;
    @ApiModelProperty(value="商品类别的名称")
    @Excel(name="商品类别的名称")
    private String goodsTypeName;
    @ApiModelProperty(value="商品数量")
    @Excel(name="商品数量")
    private Integer orderDetailGoodsCount;
    @ApiModelProperty(value="箱数")
    @Excel(name="箱数")
    private Integer orderBoxCount;
    @ApiModelProperty(value="金额")
    @Excel(name="金额")
    private Double orderPrice;
    @ApiModelProperty(value="重量")
    @Excel(name="重量")
    private Double orderWeight;
    @ApiModelProperty(value="订单状态")
    @Excel(name="订单状态")
    private Integer userOrderStatus;
    @ApiModelProperty(value="收货人姓名")
    @Excel(name="收货人姓名")
    private String userAddressName;
    @ApiModelProperty(value="收货人电话")
    @Excel(name="收货人电话")
    private String userAddressPhone;
    @ApiModelProperty(value="配送员姓名")
    @Excel(name="配送员姓名")
    private String shipperName;
    @ApiModelProperty(value="配送时间")
    @JsonFormat(pattern="YYYY-MM-dd HH:mm:ss")
    @Excel(name="配送时间")
    private Timestamp shipperDoneTime;
    @ApiModelProperty(value="时效产品类型")
    @Excel(name="时效产品类型")
    private String orderExpireProduct;
    @ApiModelProperty(value="站点名")
    @Excel(name="站点名")
    private String stationName;
}